package com.yc.hwc.web.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import com.yc.hwc.bean.Result;
import com.yc.hwc.bean.User;

@FeignClient("hwcuser")
public interface IUserDo {

	@PostMapping("login")
	Result<User> login(User user);

	@PostMapping("save")
	Result<?> save(User user);

}
